package model;

import java.io.Serializable;
import java.util.Date;

public class Borrow implements Serializable {
    private int Rid;
    private int Bid;
    private Date BorrowTime;
    private Date ReturnTime;

    public Borrow(int rid, int bid, Date borrowTime, Date returnTime) {
        Rid = rid;
        Bid = bid;
        BorrowTime = borrowTime;
        ReturnTime = returnTime;
    }

    public Borrow() {
    }

    public void setRid(int Rid){
        this.Rid = Rid;
    }
    public int getRid(){
        return Rid;
    }
    public void setBid(int Bid){
        this.Bid = Bid;
    }
    public int getBid(){
        return Bid;
    }

    public Date getBorrowTime() {
        return BorrowTime;
    }

    public void setBorrowTime(Date borrowTime) {
        BorrowTime = borrowTime;
    }

    public Date getReturnTime() {
        return ReturnTime;
    }

    public void setReturnTime(Date returnTime) {
        ReturnTime = returnTime;
    }
}
